package com.jingyanzi.resallocation.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jingyanzi.resallocation.domain.DictionariesDO;

@FeignClient("sys-Service")
@RestController
@RequestMapping("/api")
public interface DicClientAPI {

	@RequestMapping("/dic/{id}")
	public DictionariesDO get(@PathVariable(value = "id") Integer id);
	
}